package com.runfast.waimai.service.impl;

import com.runfast.common.service.BaseService;
import com.runfast.waimai.dao.mapper.RunfastBusinessCommentMapper;
import com.runfast.waimai.dao.model.RunfastBusinessComment;
import com.runfast.waimai.dao.model.RunfastBusinessCommentExample;
import com.runfast.waimai.service.RunfastBusinessCommentService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class RunfastBusinessCommentServiceImpl extends BaseService<RunfastBusinessComment, Integer, RunfastBusinessCommentExample> implements RunfastBusinessCommentService {
    public List<RunfastBusinessComment> selectByMapWithPageable(Map<Object,Object> map){
        RunfastBusinessCommentMapper runfastBusinessCommentMapper=(RunfastBusinessCommentMapper)this.mapper;
        return runfastBusinessCommentMapper.selectByMapWithPageable(map);
    }
    public Integer  countByMap(Map<Object,Object> map){
        RunfastBusinessCommentMapper runfastBusinessCommentMapper=(RunfastBusinessCommentMapper)this.mapper;
        return runfastBusinessCommentMapper.countByMap(map);
    }

}